package com.lxmes.jiesuan.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 支款记账对象 jiesuan_zhikuan
 * 
 * @author zhangzhiyu
 * @date 2022-09-26
 */
public class JiesuanZhikuan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 摘要 */
    @Excel(name = "摘要")
    private String zhaiyao;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private String ywType;

    /** 业务单号 */
    @Excel(name = "业务单号")
    private String ywId;

    /** 业务单号2 */
    @Excel(name = "业务单号2")
    private String ywId2;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String cusName;

    private Long cusId;
    /** 银行账户 */
    @Excel(name = "银行账户")
    private String account;

    /** 付款方式 */
    @Excel(name = "付款方式")
    private String fkfs;

    /** 支款金额 */
    @Excel(name = "支款金额")
    private BigDecimal zkMoney;

    /** 优惠金额 */
    @Excel(name = "优惠金额")
    private BigDecimal yhMoney;

    /** 应付金额 */
    @Excel(name = "应付金额")
    private BigDecimal yfMoney;

    /** 付款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "付款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date zfDate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date queryZfDate1;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date queryZfDate2;

    public Long getCusId() {
        return cusId;
    }

    public void setCusId(Long cusId) {
        this.cusId = cusId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setZhaiyao(String zhaiyao) 
    {
        this.zhaiyao = zhaiyao;
    }

    public String getZhaiyao() 
    {
        return zhaiyao;
    }
    public void setYwType(String ywType) 
    {
        this.ywType = ywType;
    }

    public String getYwType() 
    {
        return ywType;
    }
    public void setYwId(String ywId) 
    {
        this.ywId = ywId;
    }

    public String getYwId() 
    {
        return ywId;
    }
    public void setYwId2(String ywId2) 
    {
        this.ywId2 = ywId2;
    }

    public String getYwId2() 
    {
        return ywId2;
    }
    public void setCusName(String cusName) 
    {
        this.cusName = cusName;
    }

    public String getCusName() 
    {
        return cusName;
    }
    public void setAccount(String account) 
    {
        this.account = account;
    }

    public String getAccount() 
    {
        return account;
    }
    public void setFkfs(String fkfs) 
    {
        this.fkfs = fkfs;
    }

    public String getFkfs() 
    {
        return fkfs;
    }

    public BigDecimal getZkMoney() {
        return zkMoney;
    }

    public void setZkMoney(BigDecimal zkMoney) {
        this.zkMoney = zkMoney;
    }

    public void setYhMoney(BigDecimal yhMoney)
    {
        this.yhMoney = yhMoney;
    }

    public BigDecimal getYhMoney() 
    {
        return yhMoney;
    }

    public BigDecimal getYfMoney() {
        return yfMoney;
    }

    public void setYfMoney(BigDecimal yfMoney) {
        this.yfMoney = yfMoney;
    }

    public void setZfDate(Date zfDate)
    {
        this.zfDate = zfDate;
    }

    public Date getZfDate() 
    {
        return zfDate;
    }

    public Date getQueryZfDate1() {
        return queryZfDate1;
    }

    public void setQueryZfDate1(Date queryZfDate1) {
        this.queryZfDate1 = queryZfDate1;
    }

    public Date getQueryZfDate2() {
        return queryZfDate2;
    }

    public void setQueryZfDate2(Date queryZfDate2) {
        this.queryZfDate2 = queryZfDate2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("zhaiyao", getZhaiyao())
            .append("ywType", getYwType())
            .append("ywId", getYwId())
            .append("ywId2", getYwId2())
            .append("cusName", getCusName())
            .append("account", getAccount())
            .append("fkfs", getFkfs())
            .append("zkMoney", getZkMoney())
            .append("yhMoney", getYhMoney())
            .append("yfMoney", getYfMoney())
            .append("zfDate", getZfDate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
